<div class="bpm-work">
  <div class="bpm-work-ex">
    <div class="bpm-work-ex-content">
      <div class="bpm-tabs">
        <h2 class="bpm-tabs-title">
          货物安全检查业务数据统计表
        </h2>
        <div class="bpm-tabs-sub">
          <div class="bpm-tabs-sub-ioc"></div>
          <div class="bpm-tabs-sub-h2">基本信息</div>
        </div>
        <table style="width: 85%;margin: 0 auto;table-layout:fixed">
          <tr>
            <th colspan="2" class="form-text-th" style="width: 30%;">
              项目
            </th>
            <th class="form-text-th" style="width: 10%;">
              序号
            </th>
            <th colspan="2" class="form-text-th" style="width: 20%;">
              检查类别
            </th>
            <th class="form-text-th" style="width: 20%;">
              本月统计
            </th>
          </tr>
          <tr>
            <td colspan="5" class="form-text">
              <nz-form-label nzRequired class="form-label">所属机场</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="!fs.er.airport?'error':'success'" nzHasFeedback>
                <nz-select class="fm-input" [(ngModel)]="fs.er.airport" [disabled]="fs.er.airport">
                  <nz-option *ngFor="let option of airportDic.datas" [nzLabel]="option.display" [nzValue]="option.id">
                  </nz-option>
                  <nz-option *ngIf="airportDic.isLoading" nzDisabled nzCustomContent>
                    <i nz-icon type="loading" class="loading-icon"></i>加载中...
                  </nz-option>
                </nz-select>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="10">
              <nz-form-label class="form-label">航空货物检查</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>共计</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>A</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">检查件数</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gcheckcount.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gcheckcount" name="gcheckcount" required #gcheckcount="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="9">
              <nz-form-label class="form-label">其中查获</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>A1</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">枪支（含仿真枪）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gguns.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gguns" name="gguns" required #gguns="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A2</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">弹药</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gbullet.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gbullet" name="gbullet" required #gbullet="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A3</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">军械、警械</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gpoliceequipment.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gpoliceequipment" name="gpoliceequipment" required
                  #gpoliceequipment="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A4</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">爆破器材</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gboomequipment.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gboomequipment" name="gboomequipment" required
                  #gboomequipment="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A5</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">管制刀具</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gcontrolknife.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gcontrolknife" name="gcontrolknife" required
                  #gcontrolknife="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A6</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">易燃易爆物品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gdanger.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gdanger" name="gdanger" required #gdanger="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A7</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">毒品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gdrugs.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gdrugs" name="gdrugs" required #gdrugs="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A8</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">其他违禁品或危险品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gother.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gother" name="gother" required #gother="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>A9</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">小计</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="gtotal.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.gtotal" name="gtotal" required #gtotal="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="10">
              <nz-form-label class="form-label">航空邮件快件</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>共计</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>B</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">检查件数</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pcheckcount.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pcheckcount" name="pcheckcount" required #pcheckcount="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="9">
              <nz-form-label class="form-label">其中查获</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>B1</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">枪支（含仿真枪）</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pguns.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pguns" name="pguns" required #pguns="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B2</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">弹药</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pbullet.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pbullet" name="pbullet" required #pbullet="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B3</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">军械、警械</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="ppoliceequipment.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.ppoliceequipment" name="ppoliceequipment" required
                  #ppoliceequipment="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B4</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">爆破器材</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pboomequipment.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pboomequipment" name="pboomequipment" required
                  #pboomequipment="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B5</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">管制刀具</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pcontrolknife.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pcontrolknife" name="pcontrolknife" required
                  #pcontrolknife="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B6</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">易燃易爆物品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pdanger.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pdanger" name="pdanger" required #pdanger="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B7</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">毒品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pdrugs.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pdrugs" name="pdrugs" required #pdrugs="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B8</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">其他违禁品或危险品</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="pother.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.pother" name="pother" required #pother="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label>B9</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">小计</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="ptotal.invalid?'error':'success'" nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.ptotal" name="ptotal" required #ptotal="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="6">
              <nz-form-label class="form-label">处理措施</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>共计</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>C</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">处理件数</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="hhandlecount.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.hhandlecount" name="hhandlecount" required #hhandlecount="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="5">
              <nz-form-label class="form-label">其中</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label>C1</nz-form-label>
            </td>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">退运</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="hreturn.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.hreturn" name="hreturn" required #hreturn="ngModel" [nzMin]="0"
                  [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text" rowspan="4">
              <nz-form-label class="form-label">C2</nz-form-label>
            </td>
            <td class="form-text" rowspan="3">
              <nz-form-label class="form-label">移交机场公安</nz-form-label>
            </td>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">伪报品名</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="hfakename.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.hfakename" name="hfakename" required #hfakename="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">伪造、变革证明文件</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="hfakefile.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.hfakefile" name="hfakefile" required #hfakefile="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td class="form-text">
              <nz-form-label nzRequired class="form-label">其他</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="hfakeother.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.hfakeother" name="hfakeother" required #hfakeother="ngModel"
                  [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
          <tr>
            <td colspan="2" class="form-text">
              <nz-form-label nzRequired class="form-label">移交其他部门</nz-form-label>
            </td>
            <td class="form-input">
              <nz-form-control class="form-control" [nzValidateStatus]="htransferother.invalid?'error':'success'"
                nzHasFeedback>
                <nz-input-number [(ngModel)]="fs.er.htransferother" name="htransferother" required
                  #htransferother="ngModel" [nzMin]="0" [nzStep]="1" class="form-control">
                </nz-input-number>
              </nz-form-control>
            </td>
          </tr>
        </table>
      </div>
    </div>
  </div>
  <div class="content-loading" *ngIf="fs.isLoading || fs.isSaveing">
    <nz-spin [nzSize]="'large'"></nz-spin>
  </div>
</div>
<div class="bpm-foot">
  <div class="tools">
    <div *ngIf="ss.mi.sa || ss.mi.hwaqjcxg" class="item" (click)="save()">
      <i nz-icon type="save" class="icon"></i>
      <span class="text">保存</span>
    </div>
    <div class="item" (click)="close()">
      <i nz-icon type="logout" class="icon"></i>
      <span class="text">关闭</span>
    </div>
  </div>
</div>
